package cn.itsource.service;

import cn.itsource.domain.Article;
import cn.itsource.domain.ArticleType;
import cn.itsource.domain.Comment;
import cn.itsource.query.ArticleQuery;
import com.github.pagehelper.PageInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface ICommentService {
    void add(Comment comment);

    void update(Comment comment);

    void del(String id);
    List<Comment> findByArticleId(Long articleId);
}
